import request from '@/utils/request'
export function getList(params) {
  return request({
    url: '/admin/payItem/getList',
    method: 'get',
    params
  })
}

export function create(data) {
  return request({
    url: '/admin/payItem/create',
    method: 'post',
    data
  })
}

export function update(data) {
  return request({
    url: '/admin/payItem/update',
    method: 'post',
    data
  })
}

export function remove(data) {
  return request({
    url: '/admin/payItem/delete',
    method: 'post',
    data
  })
}

export function setStatus(id) {
  return request({
    url: '/admin/channel/status',
    method: 'post',
    data: {
      id: id
    }
  })
}

